← Back to issue list

Include/exclude patterns improvements

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1734400
Type
issue
State
open
Author
~lool
Labels
Created
2017-11-25 00:01:05.051847+00:00
Updated
2017-11-25 07:16:22.129100+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Hi, (This was actually mentioned by a customer and I'm forwarding on their behalf.) When listing files to stage or prime for a part in snapcraft.yaml, the list of patterns seems to be sorte into an include list and an exclude list, and then processed in a way where all excludes win over all includes. Instead, it might be more useful to either always process all includes last, or to process includes/excludes in the order specified in the snapcraft.yaml. This would allow handling a broader variety of cases. Best, - Loïc

Evaluation history

No evaluation history available.